package com.hex.ds.hdtp.core.inf.data.configuration.po;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Package com.hex.ds.hdtp.core.inf.data.configuration.po
 * @ClassName ConvertPo
 * @Description 转换配置Po对象
 * @Author yh.wan
 * @Date 2023/8/7 16:03
 * @Version v1.0
 **/
@Data
@TableName(value = "tm_table_convert")
public class TableConvertPo implements Serializable {

    @TableId(value = "pk_id", type = IdType.ASSIGN_UUID)
    private String pkId;

    @Excel(name = "源服务器（必填项）")
    @TableField(value = "original_server")
    private String originalServer;

    @Excel(name = "目标服务器（必填项）")
    @TableField(value = "target_server")
    private String targetServer;

    @Excel(name = "转换类型（必填项）")
    @TableField(value = "convert_type")
    private String convertType;

    @Excel(name = "替换类型（必填项）")
    @TableField(value = "replace_type")
    private String replaceType;

    @Excel(name = "原值（必填项）")
    @TableField(value = "original_value")
    private String originalValue;

    @Excel(name = "目标值（必填项）")
    @TableField(value = "target_value")
    private String targetValue;

    @Excel(name = "系数（必填项）")
    @TableField(value = "coefficient")
    private Float coefficient;

    @Excel(name = "备注")
    @TableField(value = "detail")
    private String detail;
}
